import _http from '@/utils/http'

export default {
    shoplevelReset(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/asd/shoplevel/month-statics',
            apiName: '店铺等级重算',
        }, params, loading, headers)
    },

    taskFenhongStatics(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/asd/task/fenhong-statics',
            apiName: '分红开始计算',
        }, params, loading, headers)
    },

    taskIncomeTuijianStatics(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/asd/task/income-tuijian-statics',
            apiName: '同级推荐佣金开始计算',
        }, params, loading, headers)
    },

    taskLastMonthStatics(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/asd/task/last-month-active-device-statics',
            apiName: '上月激活设备统计开始计算',
        }, params, loading, headers)
    },

    taskLevelBuchongIncome(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/asd/task/level-buchong-income',
            apiName: '级差佣金开始计算',
        }, params, loading, headers)
    },
}
